wpCloud\StatelessMedia\Utility D

Total Complexity 191
Dependencies 9
Dependents 10
Total lines 1,094
Lines of code 670
Logical lines of code 349
Comment lines 305
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
add_media()
D
28
35 122
join_url()
B
42 20 50
process_file_by_id()
B
41 17 52
get_path_and_url()
B
42 16 47
process_image_by_id()
A
46 13 33
generate_cloud_meta()
A
52 9 21
remove_media()
A
54 9 19
mimetype_from_extension()
A
32 3 109
isCallStackMatches()
A
54 8 20
sync_get_attachment_if_exist()
A
56 8 16
get_files()
S
56 7 17
randomize_filename()
S
49 6 30
convert_to_byte()
S
54 6 21
can_delete_attachment()
S
58 6 15
log()
S
62 5 11
get_available_sync_classes()
S
57 4 17
getCacheControl()
S
59 4 13
get_stateless_media_data_count()
S
59 3 15
generate_jwt_token()
S
62 3 10
normalize_path()
S
66 2 8
verify_jwt_token()
S
73 2 4
store_can_delete_attachment()
S
70 2 6
generate_wizard_auth_token()
S
68 1 7
add_webp_mime()
S
76 1 4
getContentDisposition()
S
76 1 3